package com.koala.learn.json.inner;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.JsonNode;
import lombok.Data;

/**
 * @author yantingrui
 * @date 2022/7/25   17:14
 * {"name":"2","car":{"brand":"1"}}
 */
@Data
public class Data2 {
    @JsonProperty("name")
    private String name;

    @JsonProperty("car.brand")
    private JsonNode car;
}
